<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport"
        content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, user-scalable=no" />
        <link rel="stylesheet" type="text/css" href="css/index.css">
            <title>Demo</title>
            <script type="text/javascript">
                window.uexOnload = function() {
                    uexWidgetOne.onError = function(opCode, errorCode, errorDesc) {
                        alert(errorCode + ":" + errorDesc);
                    }
                }
            function createDemo(){
                uexPluginName.CallBack = CallBack;
                alert("createDemo");
                uexPluginName.open('0','150','320','416');
            }
            function CallBack(){
                alert("回掉成功");
            }
            function closeDemo(){
                uexPluginName.close();
            }
            
                </script>
    </head>
    
    <body>
        <div class="tit">Demo</div>
        <div class="conbor">
            <div class="consj">
                <input class="btn" type="button" value="打开Demo" onclick="createDemo();"/>
                <input class="btn" type="button" value="关闭" onclick="closeDemo();"/>
            </div>
        </div>
    </body>
</html>